package com.lx.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lx.beans.Student;
import com.lx.dao.StudentDao;
import com.lx.service.StudentService;

@Service
public class StudentServiceImpl implements StudentService {

	@Autowired
	private StudentDao dao;

	@Override
	public List<Student> findAllStus() {
		return dao.findAllStus();
	}

	@Override
	public Student findById(Integer id) {
		return dao.findById(id);
	}

}
